<%@page contentType="text/html; charset=UTF-8"%>
  <div class="logo"></div>
  <div class="msgBox"> 欢迎 hqadmin </div>
  <!--导航开始-->
  <div class="mainNav">
    <!--菜单开始-->
    <ul class="menu" id="menu">
    <li <%=getCssClassPanel(request,"index")%>><a href="index.action" class="menulink">首&nbsp;&nbsp;页</a></li>
    <li <%=getCssClassPanel(request,"infocom")%>> <a href="#" class="menulink">信息上报</a>
      <ul>
        <li><a href="#">新建信息</a></li>
        <li><a href="#">信息发布</a></li>
        <li><a href="#">报送列表</a></li>
      </ul>
    </li>
    <li <%=getCssClassPanel(request,"infocon")%>><a href="#" class="menulink">信息统计</a></li>
    <li <%=getCssClassPanel(request,"infoper")%>><a href="#" class="menulink">个人信息</a></li>
    <li <%=getCssClassPanel(request,"address")%>><a href="#" class="menulink">&nbsp;通讯录</a></li>
    <li class="quit"><a href="#" class="menulink">退&nbsp;&nbsp;出</a></li>
    </ul>
    <!--菜单结束-->
  </div>
  <!--导航结束-->
<%!
	String getCssClassPanel(HttpServletRequest request, String title){
 		String panel = (String)request.getAttribute("panel");
 		if(title.equalsIgnoreCase(panel)) {
			return "class=\"current\"";
		}else {
			return "";
		}
 	}
%>